// Description  :
// Author       : MMingzhao
// Date         : 2020-01-16 11:40

// Package tools
package tools

import "regexp"

//ValidationMobile 手机号校验
func ValidationMobile(mobile string) bool {

	reg := `^1([38][0-9]|14[579]|5[^4]|16[6]|7[1-35-8]|9[189])\d{8}$`
	rgx := regexp.MustCompile(reg)

	return rgx.MatchString(mobile)
}
